package com.tsystems.tuni.sportplanet.ws;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import com.tsystems.tuni.sportplanet.entity.Game;
import com.tsystems.tuni.sportplanet.entity.Player;
import com.tsystems.tuni.sportplanet.entity.Sport;
import com.tsystems.tuni.sportplanet.entity.Team;

@WebService
@SOAPBinding(style = Style.RPC)
public interface ReadDataWS {
	@WebMethod
	List<Sport> getAllSports();

	@WebMethod
	List<Team> getSportTeams(Sport sport);

	@WebMethod
	List<Player> getTeamsPlayer(Team team);

	@WebMethod
	List<Game> getGamesBySport(Sport sport);
}
